﻿#include "KEntitydef.h"
#include "common/basictypes.h"

using namespace KBEngineClient;

std::map<std::string,KBEDATATYPE_BASE> EntityDef::datatypes;
std::map<uint16,KBEDATATYPE_BASE> EntityDef::iddatatypes;
std::map<string,int32> EntityDef::datatype2id;
std::map<std::string,ScriptModule> EntityDef::moduledefs;
std::map<uint16,ScriptModule> EntityDef::idmoduledefs;
std::map<std::string,PropertyMap*> EntityDef::alldefpropertys;
std::map<std::string,PropertyMap*> EntityDef::defpropertys_;
std::map<uint16,PropertyMap*> EntityDef::iddefpropertys_;

bool EntityDef::__entityAliasID;    // 优化EntityID，aoi范围内小于255个EntityID, 传输到client时使用1字节伪ID
bool EntityDef::__entitydefAliasID;
